package com.cy.study.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cy.study.entity.UserInfoEntity;
import com.cy.study.req.UserPageReq;
import com.cy.study.res.UserCenterExperiencePageRes;
import com.cy.study.res.UserPageRes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
@Mapper
public interface UserInfoMapper extends BaseMapper<UserInfoEntity> {

    Page<UserPageRes> userPage(@Param("req") UserPageReq req,
                               Page page);
}
